setSelectionEnabled

abstract fun setSelectionEnabled(block: DesignBlock, enabled: Boolean)

Enable or disable selection for a block.

Parameters

block

the block to update.

enabled

whether the block should be selectable.